<?php

namespace forfun\repository\entity;

class Comment {
    const KIND_WEIRD = 1;
    /**
     * @var string id.
     * @primary
     * @autoValue (value="uuid")
     */
    private $_id;
    /**
     * @var int user id.
     * @alias ("user_id")
     */
    private $_userId;
    /**
     * @var int kind.
     */
    private $_kind;
    /**
     * @var int biz id.
     * @alias ("biz_id")
     */
    private $_bizId;
    private $_comment;
    /**
     * @var string create time.
     * @alias ("create_time")
     */
    private $_createTime;

    /**
     * @var int favour number.
     * @alias ("favour_number")
     */
    private $_favourNumber;

    public function getId()
    {
        return $this->_id;
    }

    public function setId($id)
    {
        $this->_id = $id;
    }

    public function getUserId()
    {
        return $this->_userId;
    }

    public function setUserId($userId)
    {
        $this->_userId = $userId;
    }

    public function getKind()
    {
        return $this->_kind;
    }

    public function setKind($kind)
    {
        $this->_kind = $kind;
    }

    public function getBizId()
    {
        return $this->_bizId;
    }

    public function setBizId($bizId)
    {
        $this->_bizId = $bizId;
    }

    public function getComment()
    {
        return $this->_comment;
    }

    public function setComment($comment)
    {
        $this->_comment = $comment;
    }

    public function getCreateTime()
    {
        return $this->_createTime;
    }

    public function setCreateTime($createTime)
    {
        $this->_createTime = $createTime;
    }

    public function getFavourNumber()
    {
        return $this->_favourNumber;
    }

    public function setFavourNumber($favourNumber)
    {
        $this->_favourNumber = $favourNumber;
    }
}